package cn.com.service.ref;

import java.util.List;
import java.util.Map;

import cn.com.commons.Paginator;
import cn.com.dal.dataobject.ref.RefUserRoleDO;
import cn.com.support.message.MessageResult;

/**
 * 系统用户/角色关系SERVICE
 * 
 * @since 2012-3-27 下午9:22:53
 * @version 1.0
 * @author Zoe
 */
public interface RefUserRoleService {

	/**
	 * INSERT
	 * @param userRoleDO
	 * @return
	 */
	MessageResult<Long> insert(RefUserRoleDO userRoleDO);

	MessageResult<Integer> updateById(RefUserRoleDO userRoleDO);
	
	MessageResult<Integer> deleteById(List<String> idLst);
	
	List<RefUserRoleDO> selectList(RefUserRoleDO userRoleDO);
	
	RefUserRoleDO selectById(Long id);
}
